package com.linkvin.ec.hcs.dao.mapper.sysadmin;

import com.linkvin.ec.hcs.dao.model.sysadmin.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 权限 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2017-12-12
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 通过用户得到
     * @param userId
     * @return
     */
    List<Permission> selectPermListByUserId(@Param("userId") Integer userId);

}
